<!--订单详情-->
<div class="bg-light lter b-b wrapper-md">
    <h1 class="m-n font-thin h3">发货单详情</h1>
</div>
<div class="wrapper-md" ng-controller="DeliverGoodsOrderDetailController">
    <form name="form" class="form-validation">
        <div class="panel panel-default">
            <div class="panel-heading">
                <span class="h4">商品信息</span>
            </div>
            <div class="panel-body" ng-repeat="goodsDetail in orderDetail.goods">
                <div class="row">
                    <div class="col-sm-6">
                        <div class="form-group">
                            <label class="col-sm-3 control-label">商品名称</label>
                            <div class="col-sm-9">
                                <label class="control-label">{{goodsDetail.goodsName}}</label>
                            </div>
                        </div>
                    </div>
                    <div class="col-sm-6">
                        <div class="form-group">
                            <label class="col-sm-3 control-label">商品数量</label>
                            <div class="col-sm-9">
                                <label class="control-label">{{goodsDetail.orderDeliveredCount}}</label>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="row">
                    <div class="col-sm-6">
                        <div class="form-group">
                            <label class="col-sm-3 control-label">商品颜色</label>
                            <div class="col-sm-9">
                                <label class="control-label">{{goodsDetail.color}}</label>
                            </div>
                        </div>
                    </div>
                    <div class="col-sm-6">
                        <div class="form-group">
                            <label class="col-sm-3 control-label">商品尺码</label>
                            <div class="col-sm-9">
                                <label class="control-label">{{goodsDetail.size}}</label>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="row">
                    <div class="col-sm-6">
                        <div class="form-group">
                            <label class="col-sm-3 control-label">成交价格</label>
                            <div class="col-sm-9">
                                <label class="control-label">{{goodsDetail.orderPrice}}</label>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="line line-dashed b-b line-lg pull-in"></div>
            </div>
        </div>
        <div class="panel panel-default">
            <div class="panel-heading">
                <span class="h4">订单信息</span>
            </div>
            <div class="panel-body">
                <div class="row">
                    <div class="col-sm-6">
                        <div class="form-group">
                            <label class="col-sm-3 control-label">发货时间</label>
                            <div class="col-sm-9">
                                <label class="control-label">{{orderDetail.deliveryTime}}</label>
                            </div>
                        </div>
                    </div>
                    <div class="col-sm-6">
                        <div class="form-group">
                            <label class="col-sm-3 control-label">发货方式</label>
                            <div class="col-sm-9">
                                <label class="control-label">{{orderDetail.deliveryWay}}</label>
                            </div>
                        </div>
                    </div>
                </div>

                <div class="line line-dashed b-b line-lg pull-in"></div>
                <div class="row">
                    <div class="col-sm-6">
                        <div class="form-group">
                            <label class="col-sm-3 control-label">发货状态</label>
                            <div class="col-sm-9">
                                <label class="control-label">{{orderDetail.status}}</label>
                            </div>
                        </div>

                    </div>
                    <div class="col-sm-6">
                        <div class="form-group">
                            <label class="col-sm-3 control-label">快递单号</label>
                            <div class="col-sm-9">
                                <label class="control-label">{{orderDetail.expressCode}}</label>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="line line-dashed b-b line-lg pull-in"></div>
                <div class="row">
                    <div class="col-sm-6">
                        <div class="form-group">
                            <label class="col-sm-3 control-label">发货人姓名</label>
                            <div class="col-sm-9">
                                <label class="control-label">{{orderDetail.consignerName}}</label>
                            </div>
                        </div>

                    </div>
                    <div class="col-sm-6">
                        <div class="form-group">
                            <label class="col-sm-3 control-label">发货人电话</label>
                            <div class="col-sm-9">
                                <label class="control-label">{{orderDetail.consignerTelphone}}</label>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="line line-dashed b-b line-lg pull-in"></div>
                <div class="row">
                    <div class="col-sm-6">
                        <div class="form-group">
                            <label class="col-sm-3 control-label">收货人姓名</label>
                            <div class="col-sm-9">
                                <label class="control-label">{{orderDetail.consigneeName}}</label>
                            </div>
                        </div>

                    </div>
                    <div class="col-sm-6">
                        <div class="form-group">
                            <label class="col-sm-3 control-label">收货人电话</label>
                            <div class="col-sm-9">
                                <label class="control-label">{{orderDetail.consigneeTel}}</label>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="line line-dashed b-b line-lg pull-in"></div>
                <div class="row">
                    <div class="col-sm-6">
                        <div class="form-group">
                            <label class="col-sm-3 control-label">收货人地址</label>
                            <div class="col-sm-9">
                                <label class="control-label">{{orderDetail.consigneeAddress}}</label>
                            </div>
                        </div>

                    </div>
                    <div class="col-sm-6">
                        <div class="form-group">
                            <label class="col-sm-3 control-label">收货人邮编</label>
                            <div class="col-sm-9">
                                <label class="control-label">{{orderDetail.consigneePostcode}}</label>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="line line-dashed b-b line-lg pull-in"></div>
                <div class="row">
                    <div class="col-sm-6">
                        <div class="form-group">
                            <label class="col-sm-3 control-label">订单时间</label>
                            <div class="col-sm-9">
                                <label class="control-label">{{orderDetail.createTime}}</label>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>

        <div class="panel panel-default">
            <div class="panel-heading">
                <span class="h4">订单描述</span>
            </div>
            <div class="panel-body">
                <div class="row">
                    <div class="col-sm-12">
                        <div class="form-group">
                            <div class="col-sm-9">
                                <label class="control-label">{{orderDetail.description}}</label>
                            </div>

                        </div>
                    </div>
                </div>

            </div>
        </div>
        <footer class="panel-footer text-right bg-light lter">
            <button type="button" class="btn btn-success" ng-click="createInvoice()">发货</button>
            <button type="button" class="btn btn-error" ng-click="backToOrderList()">返回</button>
        </footer>
    </form>
</div>

